package org.forwhat.dao;

import org.apache.ibatis.annotations.Mapper;
import org.forwhat.bean.WhatTag;
import org.forwhat.framework.annotation.Data;

import java.util.List;

//@Data("WhatTagDao")
@Mapper
public interface WhatTagDao {
    public List<WhatTag> selectTagsByPostId(String postId);
    int insertTag(WhatTag whatTag);

    WhatTag selectTagByTitle(String title);
}
